<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/index.css">
<script src="js/jquery-1.11.1.js"></script>
<script src="js/bootstrap.min.js"></script>
</head>
<body>
<div class="row">
  <div class="span3">
    <div class="well"><!--侧面的菜单外围-->
      <div class="panel-group" id="accordion">
        <div class="panel panel-default">
          <div class="panel-heading">
            <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" 
               href="#collapseOne"> 第一部分 </a> </h4>
          </div>
          <div id="collapseOne" class="panel-collapse collapse in">
            <div class="panel-body"> Nihil <br>anim keffiyeh helvetica, craft beer labore wes anderson cred 
              nesciunt sapiente ea proident. Ad vegan excepteur butcher vice 
              lomo. </div>
          </div>
        </div>
        <div class="panel panel-success">
          <div class="panel-heading">
            <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" 
               href="#collapseTwo"> 第二部分 </a> </h4>
          </div>
          <div id="collapseTwo" class="panel-collapse collapse">
            <div class="panel-body"> Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred 
              nesciunt sapiente ea proident. Ad vegan excepteur butcher vice 
              lomo. </div>
          </div>
        </div>
        <div class="panel panel-info">
          <div class="panel-heading">
            <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" 
               href="#collapseThree"> 第三部分 </a> </h4>
          </div>
          <div id="collapseThree" class="panel-collapse collapse">
            <div class="panel-body"> Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred 
              nesciunt sapiente ea proident. Ad vegan excepteur butcher vice 
              lomo. </div>
          </div>
        </div>
        <div class="panel panel-warning">
          <div class="panel-heading">
            <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" 
               href="#collapseFour"> 第四部分 </a> </h4>
          </div>
          <div id="collapseFour" class="panel-collapse collapse">
            <div class="panel-body"> Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred 
              nesciunt sapiente ea proident. Ad vegan excepteur butcher vice 
              lomo. </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
<script type="text/javascript">
   $(function () { 
      $('#collapseFour').collapse({
         toggle: false
   	  });
	  $('#collapseThree').collapse({
      toggle: false
  	  });
	  $('#collapseTwo').collapse({
      toggle: false
  	  });
	  $('#collapseOne').collapse('hide')
  	
   });

</script>
</html>